<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Document</title>
<style>
    .column{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .row{
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    .box{
        background-color: pink;
        margin:10px ;

    }
    .father{
        width: 500px;
        height: 500px;
        border: 1px solid red;
        align-items: center;
        /* 换行 */
        flex-wrap: wrap;
    }
    .box02{
        align-self: stretch;
    }
    .box03{
        /*  */
        flex:1;
    } 
</style>
    </head>
<body>
    <div class="column father">
    <p class="box">盒子</p>
    <p class="box">盒子</p>
    <p class="box">盒子</p>
    <p class="box">盒子</p>
    <p class="box">盒子</p>
    <p class="box">盒子</p>
    <p class="box">盒子</p>
    <p class="box">盒子</p>
    <p class="box box02">  我是盒子</p>
    <p class="box box03">  我是盒子</p>
    <p class="box box03">  我是盒子</p>
    </div>
</body>
</html>
